Edit Task: RecurringDiscreteWindows
Description
The RecurringDiscreteWindows attribute under EditTask defines a number of recurring discrete windows for the task. This attribute may only be used if the RecurringType attribute is set to RecurringTime. Any previous discrete windows are deleted.
Parameters
Parameter | Description |
---|---|
Start | The format is YYYY/MM/DD_HH:MM:SS or YYYY/MM/DD_HH:MM:SS.fff. |
Stop | The format is YYYY/MM/DD_HH:MM:SS or YYYY/MM/DD_HH:MM:SS.fff. |
Comment | A string of text of the desired comment for the discrete window. Empty string is allowed. |
Examples
Add 2 discrete recurring windows to a task.
PATCH api/task/TaskA
Body:
{
"RecurringDiscreteWindows" : {
"Start" : "2015/01/01_00:00:00",
"Stop" : "2015/01/01_00:02:00" }
"RecurringDiscreteWindows" : {
"Start" : "2015/01/01_00:03:00",
"Stop" : "2015/01/01_00:05:00" }
}